package com.distribution.repository.dao;

import com.distribution.repository.entity.AccountUser;
import com.distribution.repository.entity.AccountUserRole;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * @author test
 * @date 2022年01月04日 17:31
 */

@Service
public class AccountUserDao {

    public AccountUser getUserByName(String username) {
        AccountUser user = new AccountUser();
        user.setAccountUserId(1);
        user.setUsername("zhangshan");
        user.setPassword("abc123");
        return user;
    }

    public List<AccountUserRole> getAccountUserRoleList(Integer userId){
        return new ArrayList<AccountUserRole>();
    }

}
